package com.slw.emergency.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: x18266
 * @Description:
 * @Date: Created in 14:50 2020/2/19
 */
@TableName("oversea_epidemic")
public class OverseaEpidemic implements Serializable{

        /**
         *主键id
         */
        @TableId(type = IdType.ID_WORKER)
        @JsonSerialize(using = ToStringSerializer.class)
        private Long id;

        /**
         * 国家
         */
        @TableField("country")
        private String country;

        /**
         * 疑似总数
         */
        @TableField("cnt_sum_suspected")
        private String cntSumSuspected;

        /**
         * 确诊总数
         */
        @TableField("cnt_sum_confirmed")
        private String cntSumConfirmed;

        /**
         * 死亡总数
         */
        @TableField("cnt_sum_dead")
        private String cntSumDead;

        /**
         * 治愈总数
         */
        @TableField("cnt_sum_cured")
        private String cntSumCured;

        /**
         * 统计时间
         */
        @TableField("create_time")
        private Date createTime;

        /**
         * 是否最新数据 0--否 1--是
         */
        @TableField("is_latest")
        private String isLatest;

        /**
         * 新增确诊数
         */
        @TableField("cnt_confirm")
        private String cntConfirm;

        /**
         * 新增治愈数
         * @return
         */
        @TableField("cnt_heal")
        private String cntHeal;

        /**
         * 新增死亡数
         */
        @TableField("cnt_dead")
        private String cntDead;

        /**
         * 新增疑似数
         */
        @TableField("cnt_suspect")
        private String cntSuspect;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getCntSumSuspected() {
            return cntSumSuspected;
        }

        public void setCntSumSuspected(String cntSumSuspected) {
            this.cntSumSuspected = cntSumSuspected;
        }

        public String getCntSumConfirmed() {
            return cntSumConfirmed;
        }

        public void setCntSumConfirmed(String cntSumConfirmed) {
            this.cntSumConfirmed = cntSumConfirmed;
        }

        public String getCntSumDead() {
            return cntSumDead;
        }

        public void setCntSumDead(String cntSumDead) {
            this.cntSumDead = cntSumDead;
        }

        public String getCntSumCured() {
            return cntSumCured;
        }

        public void setCntSumCured(String cntSumCured) {
            this.cntSumCured = cntSumCured;
        }

        public Date getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Date createTime) {
            this.createTime = createTime;
        }

        public String getIsLatest() {
            return isLatest;
        }

        public void setIsLatest(String isLatest) {
            this.isLatest = isLatest;
        }

        public String getCntConfirm() {
            return cntConfirm;
        }

        public void setCntConfirm(String cntConfirm) {
            this.cntConfirm = cntConfirm;
        }

        public String getCntHeal() {
            return cntHeal;
        }

        public void setCntHeal(String cntHeal) {
            this.cntHeal = cntHeal;
        }

        public String getCntDead() {
            return cntDead;
        }

        public void setCntDead(String cntDead) {
            this.cntDead = cntDead;
        }

        public String getCntSuspect() {
            return cntSuspect;
        }

        public void setCntSuspect(String cntSuspect) {
            this.cntSuspect = cntSuspect;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }
}
